package com.example.administrator.acmapp.Fragment.CommunityFragmentPage;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

import com.example.administrator.acmapp.Adapter.CommunityListViewAdapter;
import com.example.administrator.acmapp.R;

/**
 * Created by Administrator on 2018/2/3/003.
 */

public class NewVideoFragment extends Fragment {
    ListView mAcmNewListView;
    private View view;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.new_video_fragment,container,false);
        initView();
        return view;
    }
    private void initView(){
        mAcmNewListView = view.findViewById(R.id.acm_news_fragment_listview);
        mAcmNewListView.setAdapter(new CommunityListViewAdapter(getActivity()));
    }
}
